function TestAA() {

	jQuery("#list4").jqGrid(
			{
				url: "db.database",
				datatype : "json",
				height : 100,
				width : 1000,
				colNames : [ 'OfferId', 'customer', 'position', 'candidate',
						'manager', 'offer_date', 'amount',
						'offer_location', "belong", "ensure" ],
				colModel : [ {
					name : 'offer_id',
					index : 'offer_id',
					width : 60,
				}, {
					name : 'customer',
					index : 'customer',
					width : 90,
				}, {
					name : 'position',
					index : 'position',
					width : 80,
				}, {
					name : 'candidate',
					index : 'candidate',
					width : 80,
				}, {
					name : 'manager',
					index : 'manager',
					width : 80,
				}, {
					name : 'offer_date',
					index : 'offer_date',
					width : 60,
				}, {
					name : 'amount',
					index : 'amount',
					width : 60,
				}, {
					name : 'offer_location',
					index : 'offer_location',
					width : 60,
				}, {
					name : 'belong',
					index : 'belong',
					width : 150,
				}, {
					name : 'ensure',
					index : 'ensure',
					width : 60,
				} ],
				pager: '#searchPanel',
				multiselect : false,
				viewrecords: true,
				caption : "Offer Details", //table title
				height: "auto", // also can be fixed amount
				rowNum:10, // 每页显示记录数
				viewrecords: true, // 是否显示行数
				rowList: [10,20,30],  // 可调整每页显示的记录数
				multiselect: false, // 是否支持多选
			// TODO how to set max heitght for this grid
				});

	var mydata = [ {
		offer_id : "OF-001",
		customer : "Bosch",
		position : "IT Engineer",
		candidate : "Zhou Yazhou",
		manager : "Jack Li",
		offer_date : "2007-01-01",
		amount : "100",
		offer_location : "Suzhou",
		belong : "Jack-10%;Mary-90%",
		ensure : "Test"
	}, {
		offer_id : "OF-001",
		customer : "Bosch",
		position : "IT Engineer",
		candidate : "Zhou Yazhou",
		manager : "Jack Li",
		offer_date : "2007-01-01",
		amount : "100",
		offer_location : "Suzhou",
		belong : "Jack-10%;Mary-90%",
		ensure : "9month"
	}
	
	];

	/*
	for ( var i = 0; i <= mydata.length; i++) {
		jQuery("#list4").jqGrid('addRowData', i + 1, mydata[i])
	}
*/
	jQuery("#list4").jqGrid('navGrid',"#searchPanel", {edit:false,add:false,del:false});

}